.pxToRem(@p, @px) {
    @{p}: @px / 75 * 1rem;
}
body {
    background: #f5f3f6;
}
#head {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
    display: flex;
    justify-content: space-around;
    align-items: center;
    .pxToRem(height,100);
    background: #fff;
    background: linear-gradient(90deg, #ee4c49, #fd8151);
    .xl {
        .pxToRem(margin-left,40);
        .pxToRem(width,120);
        .pxToRem(font-size,34);
        color: #FFFFFF;
    }
    .sou {
        flex: 1;
        .pxToRem(width,500);
        .pxToRem(height,60);
        .pxToRem(border-radius,20);
        .pxToRem(font-size,30);
        background: #fff url("../images/sou.jpg") no-repeat left;
        color: #FFFFFF;
        border: none;
        .pxToRem(background-size,45);
        .pxToRem(padding-left,45);
    }
    .jia {
        width: 10%;
    }
}
.ul1 {
    width: 100%;
    position: fixed;
    .pxToRem(top,86);
    left: 0;
    border-bottom: 2px solid #d2d2d2;
    background: #fff;
    z-index: 99;
    .top {
        width: 100%;
        .top_1 {
            .pxToRem(height,80);
            display: flex;
            justify-content: center;
            align-items: center;
            box-sizing: border-box;
            width: 100%;
            div {
                flex: 1;
                height: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
                a {
                    width: 60%;
                    height: 100%;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    color: #000;
                    box-sizing: border-box;
                    .pxToRem(font-size,28);
                    text-decoration: none;
                }
                .zx {
                    border-bottom: 4px solid red;
                    color: red;
                }
            }
        }
    }
}
.swiper-container {
    .swiper-wrapper {
        .as {
            display: flex;
            justify-content: center;
            flex-direction: column;
            .pxToRem(margin-top,170);
            .box {
                display: flex;
                .pxToRem(margin-top,10);
                flex-direction: column;
                .ys {
                    background: #fff;
                    display: flex;
                    .pxToRem(margin-top,10);
                    .pxToRem(padding-top,30);
                    .pxToRem(padding-bottom,30);
                    .left {
                        width: 70%;
                        h3 {
                            width: 100%;
                            .pxToRem(margin,10);
                            .pxToRem(font-size,30);
                            .pxToRem(line-height,40);
                        }
                        .p1{
                             .pxToRem(width,400);
                             white-space: nowrap;
                             overflow: hidden;
                             text-overflow: ellipsis;
                             color: #AAB2BD;
                        }
                        .jg {
                            width: 100%;
                            .pxToRem(margin,10);
                            .pxToRem(font-size,40);
                        }
                        p {
                            width: 100%;
                            .pxToRem(font-size,24);
                            .pxToRem(margin,20);
                        }
                    }
                    .right {
                        width: 40%;
                        .pxToRem(margin-right,15);
                        img {
                            width: 100%;
                        }
                    }
                }
                .ys2 {
                    .pxToRem(margin-top,20);
                    background: #fff;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    .pxToRem(height,80);
                    span {
                        display: flex;
                        align-items: center;
                        text-align: center;
                        .pxToRem(margin,15);
                        img {
                            .pxToRem(margin-right,10);
                        }
                    }
                }
            }
        }
        .ad {
            width: 100%;
            display: flex;
            justify-content: center;
            flex-direction: column;
            .meng {
                width: 100%;
                background: #fff;
                .top {
                    width: 100%;
                    img {
                        width: 100%;
                        height: 100%;
                    }
                }
            }
        }
    }
}
.xia {
    .bottom {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        background: #fff;
        .tou {
            width: 100%;
            .pxToRem(font-size,27);
        }
        .pa {
            .pxToRem(margin-top,30);
            width: 94%;
            display: flex;
            justify-content: center;
            flex-direction: column;
            align-items: center;
            .spa {
                width: 100%;
                display: flex;
                justify-content: flex-start;
                align-items: center;
                .spa1 {
                    color: #e4010d;
                    .pxToRem(font-size,20);
                }
                .spa2 {
                    color: #e4010d;
                    .pxToRem(font-size,34);
                    font-weight: bold;
                }
                .spa3 {
                    color: #aab2bd;
                    .pxToRem(font-size,16);
                    text-decoration: line-through;
                    .pxToRem(margin-left,10);
                }
            }
            .spb {
                .pxToRem(margin-top,36);
                width: 100%;
                display: flex;
                justify-content: space-between;
                .pxToRem(padding-bottom,20);
                align-items: center;
                span {
                    color: #c3c4c6;
                    .pxToRem(font-size,24);
                }
            }
        }
    }
    .goumai {
        width: 100%;
        .gm1 {
            width: 100%;
            display: flex;
            .pxToRem(margin-top,15);
            justify-content: center;
            flex-direction: column;
            align-items: center;
            background: #fff;
            .pb1 {
                width: 94%;
                .pxToRem(height,100);
                display: flex;
                justify-content: space-between;
                align-items: center;
                border-bottom: 1px solid #ccc;
                span {
                    color: #363636;
                    .pxToRem(font-size,30);
                }
            }
        }
        .gm1:active {
            background: #ccc;
        }
    }
}

.yj {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content:center;
    align-items: center;
    flex-flow: wrap;
    border-bottom: 2px solid #CCCCCC;
    .pxToRem(height,100);
    text-align: center;
    background: #FFFFFF;
    .dl {
        width: 20%;
        text-align: center;
        .dt {
            .pxToRem(height,70);
            .pxToRem(width,180);
            img {
               .pxToRem(height,70);
            .pxToRem(width,70);
            }
        }
        dd {
            text-align: center;
            .pxToRem(width,180);
            .pxToRem(font-size,25);
            .pxToRem(margin-top,5);
        }
    }
}
